package com.ny.dto;

import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModelProperty;

/**
 * 员工信息DTO
 *
 * @author MSI-NB
 * @date 2025-03-08 13:14:38
 */
@Data
public class EmployeeDTO {

    /**
     * 员工ID
     */
    @NotNull(groups = { UpdateGroup.class, DeleteGroup.class }, message = "员工ID不能为空")
    @ApiModelProperty(value = "员工ID")
    private Integer employeeId;

    /**
     * 员工姓名
     */
    @NotBlank(groups = { CreateGroup.class }, message = "员工姓名不能为空")
    @ApiModelProperty(value = "员工姓名")
    private String name;

    /**
     * 员工联系方式
     */
    @NotBlank(groups = { CreateGroup.class }, message = "员工联系方式不能为空")
    @ApiModelProperty(value = "员工联系方式")
    private String contactInfo;

    /**
     * 职位
     */
    @NotBlank(groups = { CreateGroup.class }, message = "职位不能为空")
    @ApiModelProperty(value = "职位")
    private String jobTitle;

    /**
     * 职责描述
     */
    @ApiModelProperty(value = "职责描述")
    private String responsibilities;
}
